package com.dhcc.bpm.business.papc.service;

import com.dhcc.bpm.business.papc.entity.ComParm;
import com.dhcc.bpm.business.papc.vo.ComParmVO;
import org.springblade.core.mp.base.BaseService;
import com.baomidou.mybatisplus.core.metadata.IPage;

import java.util.List;

/**
 * 中间业务系统参数表  服务类
 *
 * @author liuzhao
 * @since 2020-05-15
 */
public interface IComParmService extends BaseService<ComParm> {

    /**
     * @param page
     * @param comParm
     * @return com.baomidou.mybatisplus.core.metadata.IPage<com.dhcc.bpm.business.papc.vo.ComParmVO>
     * @Description 自定义分页
     * @Author liuzhao
     * @Date 2020/5/25 14:57
     **/
    IPage<ComParmVO> selectComParmPage(IPage<ComParmVO> page, ComParmVO comParm);

    /**
     * @param id
     * @return com.dhcc.bpm.business.papc.entity.ComParm
     * @Description 详情
     * @Author liuzhao
     * @Date 2020/5/25 15:13
     **/
    ComParm selectComParmById(Long id);

    /**
     * @param comParm
     * @return boolean
     * @Description 新增或修改
     * @Author liuzhao
     * @Date 2020/5/25 15:13
     **/
    @Override
    boolean saveOrUpdate(ComParm comParm);

    /**
     * @param ids
     * @return boolean
     * @Description 删除
     * @Author liuzhao
     * @Date 2020/5/25 15:13
     **/
    boolean deleteComParmByIds(String ids);

    /**
     * @param comParm
     * @return java.util.List<com.dhcc.bpm.business.papc.entity.ComParm>
     * @Description 查询全部信息
     * @Author liuzhao
     * @Date 2020/5/25 15:13
     **/
    List<ComParm> selectComParmAll(ComParm comParm);
}
